<a href="dashboard.php" style="float:left">
   
    
<img src="images/layout/wintronic_logo.png" height ="70px" alt="<?php echo $companyName;?> Admin Site" title="<?php echo $companyName;?> Admin Site" />

</a><br/><br/>

<div id="logocontainer">
<div class="logotext">
<?php echo $companyName;?>&trade; Admin Console 
<br />
Welcome: <?php echo $_SESSION[SESSION_NAME]['admin']['username'];?>
</div>
</div>
<div class="topmenucontainer">
     <ul id="nav">
          <li>
               <a href="dashboard.php" <?php if($GENOBJ->navigationArray('dashboard')): ?>class="selected"<?php endif;?> >Dashboard</a>
          </li>
		  
		  <?php if($GENOBJ->isAdminLogin()): ?>
          <li>
               <a href="userlisting.php" <?php if($GENOBJ->navigationArray('user')): ?>class="selected"<?php endif;?> >Dealer</a>
               <ul>
                    <li><a href="userlisting.php">Dealers Listing</a></li>
                    <li><a href="user.php">Add Dealers</a></li>
               </ul>
          </li>
		  <?php endif; ?>
		  
		  
		<li>
			<a href="dealersgrouplisting.php" <?php if($GENOBJ->navigationArray("dealersgroup")): ?>class="selected"<?php endif;?> >Dealers Group</a>
			<ul>
				<li><a href="dealersgrouplisting.php">Dealers Group Listing</a></li>
				<li><a href="dealersgroup.php">Add Dealers Group</a></li>
			</ul>
		</li>
		
		  <li>
               <a href="categorylisting.php" <?php if($GENOBJ->navigationArray('category')): ?>class="selected"<?php endif;?> >Category</a>
               <ul>
                    <li><a href="categorylisting.php">Category Listing</a></li>
                    <li><a href="category.php">Add Category</a></li>
               </ul>
          </li>
		  
		  <li>
			<a href="brandlisting.php" <?php if($GENOBJ->navigationArray("brand")): ?>class="selected"<?php endif;?> >Brand</a>
			<ul>
				<li><a href="brandlisting.php">Brand Listing</a></li>
				<li><a href="brand.php">Add Brand</a></li>
			</ul>
		</li>
		  
		  
		  
		  <li>
			<a href="productlisting.php" <?php if($GENOBJ->navigationArray("product")): ?>class="selected"<?php endif;?> >Product</a>
			<ul>
				<li><a href="productlisting.php">Product Listing</a></li>
				<li><a href="product.php">Add Product</a></li>
			</ul>
		</li>
		  
		  
		  <li>
               <a href="bannerlisting.php" <?php if($GENOBJ->navigationArray('banner')): ?>class="selected"<?php endif;?> >Banner</a>
               <ul>
                    <li><a href="bannerlisting.php">Banner Listing</a></li>
                    <li><a href="banner.php">Add Banner</a></li>
               </ul>
          </li>
		  
		  <li>
               <a href="contentlisting.php" <?php if($GENOBJ->navigationArray('content')): ?>class="selected"<?php endif;?> >Content</a>
               <ul>
                    <li><a href="contentlisting.php">Content Listing</a></li>
                    <li><a href="content.php">Add Content</a></li>
               </ul>
          </li>
		  
		  
		    
		  <li>
				<a href="orderlisting.php" <?php if($GENOBJ->navigationArray("order")): ?>class="selected"<?php endif;?> >Order Management</a>
		 </li>
                

				
		  
		  <li>
               <a href="emailtemplatelisting.php" <?php if($GENOBJ->navigationArray('emailtemplate')): ?>class="selected"<?php endif;?> >Email Template</a>
               <ul>
                    <li><a href="emailtemplatelisting.php">Email Template Listing</a></li>
                    <li><a href="emailtemplate.php">Add Email Template</a></li>
               </ul>
          </li>
		  
		  <li>
               <a href="newsletter.php" <?php if($GENOBJ->navigationArray('newsletter')): ?>class="selected"<?php endif;?> >News-Letter</a>
               <ul>
                    <li><a href="newsletter.php">Send News-Letter</a></li>
               </ul>
          </li>
		  
			
		  <?php if($GENOBJ->isAdminLogin()): ?>
          <li>
               <a href="preference.php" <?php if($GENOBJ->navigationArray('preference')): ?>class="selected"<?php endif;?> >Site Preferences</a>
               <ul>
               	<li><a href="preference.php">Preferences</a></li>
                    <li><a href="changeemail.php">Change Email Address</a></li>
                    <li><a href="changepassword.php">Change Password</a></li>
               </ul>
          </li>
          <?php endif; ?>
		  
          <li>
               <a href="logout.php" <?php if($GENOBJ->navigationArray('logout')): ?>class="selected"<?php endif;?> >Log Out</a>
          </li>
     </ul>
     <div class="clearb"></div>
</div>